@ECHO OFF
SET user=root
SET database=wHelp
echo Password:
SET /p password=%1

cls
echo install wHelp database
mysql -u %user% -p --password=%password% < setup_whelp_database.sql 

echo install metric_system_unit table
mysql -u %user% -p --password=%password% < metric_system_unit.sql
echo populate metric_system_unit table
mysql -u %user% -p --password=%password% < metric_system_unit_populate.sql

echo install package_unit table
mysql -u %user% -p --password=%password% < package_unit.sql
echo populate package_unit table
mysql -u %user% -p --password=%password% < package_unit_populate.sql

echo starting mysql manager
mysql -u %user% -p --password=%password% %database%